namespace java com.xiguanlezz.cn

struct User {
    1: string name,
    2: string password
}

service UserService {
    bool login(1: string name, 2: string password)
    void register(1: User user)
}